package com.caiyouxi.pay.service;

import com.alibaba.fastjson.JSONObject;
import com.caiyouxi.goods.model.GoodsInfo;
import com.caiyouxi.order.model.OrderBean;
import com.caiyouxi.pay.model.PaymentConfigBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 支付service基
 *
 * @author weichangyong
 * @create 2017-09-27 14:56
 **/
public  interface PayBaseService {

    public JSONObject get_third_pay_resp(PayServiceImpl payService, OrderBean bean, GoodsInfo gInfo, PaymentConfigBean ppb) throws Exception;
    public Map<String,Object> get_pay_result(PayServiceImpl payService,HttpServletRequest request, HttpServletResponse response) throws Exception;

}
